package com.yunxi.freeze.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
public class PartnerAmountFreezeFlowVO implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private String flowId;

    @ApiModelProperty(value = "渠道商编码")
    private String partnerCode;

    @ApiModelProperty(value = "订货单号")
    private String orderCarId;

    @ApiModelProperty(value = "冻结金额")
    private BigDecimal freezeAmount;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    private String memo;

    @ApiModelProperty(value = "渠道商账户代码")
    private String accountCode;

    @ApiModelProperty(value = "冻结标识1表示冻结 0表示未冻结")
    private Integer freezeStatus;

    @ApiModelProperty(value = "VIN码")
    private String vin;
}
